package com.zhida84.Convert;
/**
 * 
 * @author shazhengbo sunchangxing
 *
 */
public class StrConvert {

	public StrConvert() {

	}

	public String chStrString(String str) {
		if (str == null) {
			str = "";
		} else {
			try {
				str=(new String(str.getBytes("iso-8859-1"),"utf-8").trim());
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		return str;
	}

}
